//
//  HWBaseViewModel.m
//  HomeWork
//
//  Created by apple on 2017/10/26.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "HWBaseViewModel.h"

@implementation HWBaseViewModel

+ (instancetype)allocWithZone:(struct _NSZone *)zone{
    
    HWBaseViewModel *viewModel = [super allocWithZone:zone];
    if (viewModel) {
        [viewModel initialize];
    }
    return viewModel;
}

- (void)initialize {
    
}

- (HWRequestTool *)request{
    if (!_request) {
        _request = [[HWRequestTool alloc] init];
    }
    return _request;
}
@end
